package com.entity;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Long usrId;
	private Department department;
	private String usrName;
	private String usrPassword;
	private String usrDesc;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Department department, String usrName, String usrPassword,
			String usrDesc) {
		this.department = department;
		this.usrName = usrName;
		this.usrPassword = usrPassword;
		this.usrDesc = usrDesc;
	}

	// Property accessors

	public Long getUsrId() {
		return this.usrId;
	}

	public void setUsrId(Long usrId) {
		this.usrId = usrId;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getUsrName() {
		return this.usrName;
	}

	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}

	public String getUsrPassword() {
		return this.usrPassword;
	}

	public void setUsrPassword(String usrPassword) {
		this.usrPassword = usrPassword;
	}

	public String getUsrDesc() {
		return this.usrDesc;
	}

	public void setUsrDesc(String usrDesc) {
		this.usrDesc = usrDesc;
	}

}